//
//  LVCalendarCell.m
//  u76ho
//
//  Created by m-air-01 on 16/1/13.
//  Copyright © 2016年 LV. All rights reserved.
//

#import "LVCalendarCell.h"

@implementation LVCalendarCell

- (UILabel *)dateLabel
{
    if (!_dateLabel) {
        _dateLabel = [[UILabel alloc] initWithFrame:self.bounds];
        [_dateLabel setTextAlignment:NSTextAlignmentCenter];
        [_dateLabel setFont:[UIFont systemFontOfSize:17]];
        [self addSubview:_dateLabel];
    }
    return _dateLabel;
}

-(void)setFlag:(NSString *)flag
{
    if ([flag isEqualToString:@"0"]) {
        
    }
    else
    {
        _dateLabel.backgroundColor = [UIColor orangeColor];
    }
}

@end
